<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		<meta charset="utf-8" />
		<meta name="description" content="" />
		<link rel="stylesheet" href="admin/assets/css/bootstrap.min.css" />
		<link rel="stylesheet" href="admin/assets/css/font-awesome.min.css" />
		<link rel="stylesheet" href="admin/assets/css/ace.min.css" id="main-ace-style" />
		<!--[if lte IE 9]>
			<link rel="stylesheet" href="assets/css/ace-part2.min.css" />
		<![endif]-->
		<link rel="stylesheet" href="admin/assets/css/ace-skins.min.css" />
		<link rel="stylesheet" href="admin/assets/css/ace-rtl.min.css" />
		<title>网站设置</title>
	</head>
	<body class="no-skin" style="background: #FFFFFF;">
		<div class="page-content">
			<div class="page-content-area">
				<div class="row">
					<div class="col-xs-12">
						<!-- PAGE CONTENT BEGINS -->
						<form class="form-horizontal" role="form" method="post" action="{{ url('SiteConfigurationUp') }}" enctype="multipart/form-data">
							{{ csrf_field() }}
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 网站域名：</label>
								<div class="col-sm-9">
									<input name="netsite" value="{{ $nets[0]['webdomain'] }}" type="text" title="如：www.baidu.com" id="form-field-1" placeholder="如：www.baidu.com" class="col-xs-10 col-sm-5" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 网站名称：</label>
								<div class="col-sm-9">
									<input name="netname" value="{{ $nets[0]['webname'] }}" type="text" id="form-field-6" placeholder="" title="请输入网站名称" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 站点默认关键字：</label>
								<div class="col-sm-9">
									<input name="netkw" value="{{ $nets[0]['webkeywork'] }}" type="text" id="form-field-6" placeholder="多个用，号分开" title="多个用，号分开" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 网站备案号：</label>
								<div class="col-sm-9">
									<input name="netrecord" value="{{ $nets[0]['webrecord'] }}" type="text" id="form-field-6" placeholder="备案号" title="备案号" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 电话：</label>
								<div class="col-sm-9">
									<input name="nettel" value="{{ $nets[0]['tel_'] }}" type="text" id="form-field-6" placeholder="公司电话号码" title="公司电话号码" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 传真：</label>
								<div class="col-sm-9">
									<input name="netfax" value="{{ $nets[0]['fax_'] }}" type="text" id="form-field-6" placeholder="公司传真" title="公司传真" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 地址：</label>
								<div class="col-sm-9">
									<input name="netaddr" value="{{ $nets[0]['addr'] }}" type="text" id="form-field-6" placeholder="公司地址" title="公司地址" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 经度：</label>
								<div class="col-sm-9">
									<input name="netlat" value="{{ $nets[0]['lat'] }}" type="text" id="form-field-6" placeholder="公司经度" title="公司经度" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 纬度：</label>
								<div class="col-sm-9">
									<input name="netlnt" value="{{ $nets[0]['lnt'] }}" type="text" id="form-field-6" placeholder="公司纬度" title="公司纬度" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 邮箱：</label>
								<div class="col-sm-9">
									<input name="netemial" value="{{ $nets[0]['emial_'] }}" type="text" id="form-field-6" placeholder="公司邮箱" title="公司邮箱" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 视频：</label>
								<div class="col-sm-9">
									<input name="netvideo" value="{{ $nets[0]['videos'] }}" type="text" id="form-field-6" placeholder="公司视频地址" title="公司视频地址" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 副标题：</label>
								<div class="col-sm-9">
									<input name="netsetitle" value="{{ $nets[0]['secondtitle'] }}" type="text" id="form-field-6" placeholder="副标题" title="副标题" style="width: 300px;"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 网站Logo：</label>
								<div class="col-sm-9">
									<img src="{{ $Logo[0]['imgurl'] }}" style="padding-bottom: 10px;"/>
									<br />
									<input name="fileLogo" type="file" multiple="" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 网站二维码：</label>
								<div class="col-sm-9">
									<img src="{{ $Logo[1]['imgurl'] }}" style="padding-bottom: 10px;"/>
									<br />
									<input name="fileNetCode" type="file" multiple="" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 公众号二维码：</label>
								<div class="col-sm-9">
									<img src="{{ $Logo[2]['imgurl'] }}" style="padding-bottom: 10px;"/>
									<br />
									<input name="fileRqCode" type="file" multiple="" />
								</div>
							</div>
							<div class="form-group" style="margin-top: 60px;">
								<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> &nbsp;</label>
								<div class="col-sm-9">
									<input class="btn btn-info" type="submit" value="提交" style="width: 200px;"/>
								</div>
							</div>
						</form>
						
					</div>
				</div>			
			</div><!-- /.page-content-area -->
		</div><!-- /.page-content -->
	</body>
	<!--[if !IE]> -->
			<script type="text/javascript">
				window.jQuery || document.write("<script src='admin/assets/js/jquery.min.js'>"+"<"+"/script>");
			</script>
		<!-- <![endif]-->
		<!--[if IE]>
			<script type="text/javascript">
			 window.jQuery || document.write("<script src='assets/js/jquery1x.min.js'>"+"<"+"/script>");
			</script>
		<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='admin/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="admin/assets/js/bootstrap.min.js"></script>
		<!--[if lte IE 8]>
		  <script src="assets/js/excanvas.min.js"></script>
		<![endif]-->
		<script src="admin/assets/js/jquery-ui.custom.min.js"></script>
		<script src="admin/assets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="admin/assets/js/ace-elements.min.js"></script>
		<script src="admin/assets/js/ace.min.js"></script>
		<script type="text/javascript">
			function setIframeHeight(iframe) {
				if (iframe) {
					var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
					if (iframeWin.document.body) {
						iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
					}
				}
			};
			
			window.onload = function () {
				setIframeHeight(document.getElementById('ifrPage'));
			};
		</script>
</html>
